#ifndef ADDITEM_H
#define ADDITEM_H

#include <head/g_pch.h>
#include <head/db_helper.h>
#include <head/m_message.h>
#include "m_fhs.h"
#include "m_columns.h"

namespace Ui {
class AddItem;
}

class AddItem : public QDialog
{
    Q_OBJECT

public:
    explicit AddItem(QWidget *parent = nullptr);
    ~AddItem();

private slots:
    void on_btn_submit_clicked();
    void on_intel_toggled(bool checked);
    void on_AMD_toggled(bool checked);

private:
    Ui::AddItem *ui;

    QString table;
    QStringList intelFamily,intelSockets;
    QStringList amdFamily,amdSockets;
};

#endif // ADDITEM_H
